﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Src="usercontrols/UniqueProduct.ascx" TagName="UniqueProduct" TagPrefix="uc1" %>
<%@ Register Src="usercontrols/NewsInDay.ascx" TagName="NewsInDay" TagPrefix="uc2" %>
<%@ Register Src="usercontrols/Servey.ascx" TagName="Servey" TagPrefix="uc3" %>
<%@ Register Src="usercontrols/Search.ascx" TagName="Search" TagPrefix="uc4" %>
<%@ Register Src="usercontrols/SiteAds.ascx" TagName="SiteAds" TagPrefix="uc5" %>
<asp:Content ID="Content3" ContentPlaceHolderID="headMeta" runat="Server">
    <meta itemprop="name" content="Title of your content">
    <meta itemprop="description" content="This would be a description of the content your users are sharing">
    <meta itemprop="image" content="http://www.google.com.vn/upload/nav_logo83.png">
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>Hachi Hachi</title>
    <script language="javascript">
        $(document).ready(function ()
        {
            createSlideShow(1, '#slider', '');
            $("#usual1 ul").idTabs(function (id)
            {
                switch (id)
                {
                    case "#KhuyenMai":
                        {
                            if ($("#KhuyenMaiList").html() == "")
                                getjson("services/WebService.asmx/GetTop12PromotionProducts", '#KhuyenMaiList', '{ Lang: "' + lang + '" }');
                            break;
                        }
                    case "#HangMoiVe":
                        {
                            if ($("#HangMoiVeList").html() == "")
                                loadAllPage(-1);
                            break;
                        }
                    default: alert(id);
                }
                return true;
            });
            
        });
        var cpage = 1;var pageCount = 0;
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class='page_body page_width'>
        <div class="Slide_block">
            <div class="SlideShowBlock">
                <div id="wrapper">
                    <a href="http://dev7studios.com" id="dev7link" style="display: none;" title="">
                        </a>
                    <div class="slider-wrapper theme-default">
                        <div class="ribbon">
                        </div>
                        <div id="slider" class="nivoSlider">
                        </div>
                    </div>
                </div>
            </div>
            <uc5:SiteAds ID="SiteAds1" runat="server" />
        </div>
        <div class="TimKiemDieuThuViDocDao">
            <uc4:Search ID="Search1" runat="server" />
            <uc1:UniqueProduct ID="UniqueProduct1" runat="server" />
            <uc2:NewsInDay ID="NewsInDay1" runat="server" />
        </div>
        <div id="bodyHolder" class="DanhMucSanPhamHangMoiVe">
            <div id="CategoryMenu" class="DanhMucSanPham">
                <div class="DanhMucSanPhamHeader">
                    <a id='productcategory'></a>
                </div>
                <div id="leftPanel">
                </div>
                <uc3:Servey ID="Servey1" runat="server" />
            </div>
            <div class="KhuyenMaiHangMoiVe" style="margin-top:-10px;">
                <div id="usual1" class="usual">
                    <div class="newicongif">
                    </div>
                    <ul>
                        <li><a href="#KhuyenMai" id='promotions' class="selected KhuyenMai">Khuyen Mai</a></li>
                        <li><a href="#HangMoiVe" id='newArrivals' class="HangMoiVe">Hang Moi</a></li>
                    </ul>
                    <div id="KhuyenMai" style="display: block;">
                        <div class="clear" id="KhuyenMaiList"></div>
                        <div class="pagging">
                            <a href="Products⁄Promotion" class="btnLoadMore" id='lblSeeMoreSaleItem'></a>
                        </div>
                    </div>
                    <div id="HangMoiVe" style="display: none;">
                        <div class="clear" id="HangMoiVeList"></div>
                        <div class="pagerControl">
                            <span id='lblPagging'></span>
                            <input class="gotoPage validateNum" id='txtGoToPage' type="text" maxlength="0" />
                        </div>
                        <div class="pagging">
                            <a href=" javascript: $('html, body').animate({ scrollTop: $('#Page' + cpage).offset().top }, 500);loadPage(cpage);" class="btnLoadMore" id='btnMorePage' >Xem thêm khuyến mãi</a>
                        </div>
                    </div>
                </div>
                <div id="message" style="display: none;">
                    
                </div>
            </div>
            <div class="clear">
            </div>
        </div>
    </div>
</asp:Content>
